<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>我的用户中心</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/css/main.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/css/style_userCenter.css">
	
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/jquery-1.6.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/jquery.validate.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/additional-methods.js" charset="utf-8"></script>
	<script type="text/javascript">
	  $(document).ready(function(){
	  	$("#fastRegCarForm").validate({
	  	rules : {
	  		"driverIdentityCardFile" : {
	  			required : true
	  		},
	  		"ownerIdentityCardFile" : {
	  			required : true
	  		},
	  		"driverDrivingLicenseFile" : {
	  			required : true
	  		},
	  		"carDrivingLicenseFile" : {
	  			required : true
	  		},
	  		"carTaxiLicenseFile" : {
	  			required : true
	  		}
	  	},
	  	messages : {
	  		"driverIdentityCardFile" : {
	  			required : "请上传车主身份证复印件"
	  		},
	  		"ownerIdentityCardFile" : {
	  			required : "请上传司机身份复印件"
	  		},
	  		"driverDrivingLicenseFile" : {
	  			required : "请上传司机驾驶执照复印件"
	  		},
	  		"carDrivingLicenseFile" : {
	  			required : "请上传车辆行驶证复印件"
	  		},
	  		"carTaxiLicenseFile" : {
	  			required : "请上传车辆运营证复印件"
	  		}
	  	}
	  	});
	  });
  </script>
  </head>
  <body>
	<div>
		<jsp:include page="../nav.jsp">
			<jsp:param value="nav_main" name="nav"/>
		</jsp:include>
	</div>
	<div class="realCer">
	
	<!--主体部分-->
	<div class="realMain clearfix mt10">
	 <!--左侧菜单-->
	<div class="realLeft" id="meunLeft">
	    <jsp:include page="../leftMenu.jsp">
	    	<jsp:param value="con_nav_main" name="con_nav"/>
	    </jsp:include>
    </div>
    <!--中由-->
	<div class="realRight ml10">
		<!--中间-->
		<div class="realR_left">
			<div class="box">
			<div class="tit">快速注册车源信息</div>
			<div class="con">
				<div class="form_wrap clearfix">
			<div style="color: red; margin-left: 100px;">
				<s:property value="resultMsg" />
				<s:fielderror></s:fielderror>
			</div>
			<s:url var="fastRegCarUrl" action="fastRegCar.action" namespace="/car"></s:url>
			<form method="post" id="fastRegCarForm" name="fastRegCarForm"
				action="<s:property value="#fastRegCarUrl"/>" enctype="multipart/form-data">
				<dl>
					<dt>
						<label for="driverIdentityCardFile">
							车主身份证:
						</label>
					</dt>
					<dd>
						<input type="file" name="driverIdentityCardFile" id="driverIdentityCardFile"
							class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						<label for="ownerIdentityCardFile">
							司机身份证:
						</label>
					</dt>
					<dd>
						<input type="file" maxlength="20" name="ownerIdentityCardFile"
							id="ownerIdentityCardFile" class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						<label for="driverDrivingLicenseFile">
							司机驾驶证:
						</label>
					</dt>
					<dd>
						<input type="file" name="driverDrivingLicenseFile" id="driverDrivingLicenseFile"
							class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						<label for="carDrivingLicenseFile">
							车辆行驶证:
						</label>
					</dt>
					<dd>
						<input type="file" name="carDrivingLicenseFile" id="carDrivingLicenseFile"
							class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						<label for="carTaxiLicenseFile">
							车辆营运证:
						</label>
					</dt>
					<dd>
						<input type="file" name="carTaxiLicenseFile" id="carTaxiLicenseFile"
							class="inputtext" />
					</dd>
				</dl>
				<dl>
					<dt>
						&nbsp;
					</dt>
					<dd>
						<input type="submit" id="button_submit" class="regbtn"
							value="立即注册" />
					</dd>
				</dl>
			</form>
		</div>
		</div>
			</div>
		</div>
		<!-- 中间 -->
		<!--右侧-->
		<div class="realR_right">	
				
			<div class="box mb10">
				<div class="tit">雇主说</div>
				<div class="con">			
				  44444444444444
				</div>
			</div>
			
		</div>
		<!--右侧-->
	</div>
	<!--中由-->
</div>
</div>
	<div>
		<jsp:include page="/footer.jsp"></jsp:include>
	</div>
    </body>
</html>